/*
 * motor.h
 *
 *  Created on: 12/mar/2014
 *      Author: massimo
 */

#ifndef MOTOR_H_
#define MOTOR_H_

#define		MOTOR_ADDR			0x04

#define		MOTOR_A_STOP		0
#define 	MOTOR_B_STOP		0
#define		MOTOR_A_LOW			0x1
#define		MOTOR_B_LOW			0x4
#define		MOTOR_A_MEDIUM		0x2
#define		MOTOR_B_MEDIUM		0x8
#define 	MOTOR_A_HIGH		0x3
#define 	MOTOR_B_HIGH		0xC
#define		DIR_A_UP			0x10
#define		DIR_B_UP			0x20
#define		DIR_A_BACK			0
#define		DIR_B_BACK			0







#endif /* MOTOR_H_ */
